import request from '@/utils/request'

//获取岗位编制分页列表
export function getPageList(query) {
  return request({
    url: '/postHeadship/getPagetList',
    method: 'get',
    params: query
  })
}
// 修改岗位
export function edit(data) {
  return request({
    url: '/postHeadship/edit',
    method: 'put',
    data: data
  })
}
